package com.dlc.demo.daiqianma.entity;

/**
 * 用户信息实体类
 */
public class UserEntity extends BaseEntity {
    private String userName;
    private String pwd;
    private int age;
    private String token;

    public UserEntity() {
    }

    public UserEntity(String userName, String pwd) {
        this.userName = userName;
        this.pwd = pwd;
    }

    public UserEntity(String userName, String pwd, int age, String token) {
        this.userName = userName;
        this.pwd = pwd;
        this.age = age;
        this.token = token;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "userName='" + userName + '\'' +
                ", pwd='" + pwd + '\'' +
                ", age=" + age +
                ", token='" + token + '\'' +
                '}';
    }
}
